home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ MSDOSSYS 3.xpl
< prev
next >
Wrap
Text File
|
2001-05-03
|
2KB
|
77 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="7"
"COUNT"="3"
"UIPATH 1"="Startup/Shutdown\Startup\Windows 9x/ME\30) ScanDisk"
"NAME"="ScanDisk Options (Win9x)"
"VERSION"="1.32"
"OSVERSION"="10100"
"LANGUAGE"="VBScript"
"TEXT 1"="Never start ScanDisk"
"TEXT 2"="Start ScanDisk after displaying a warning"
"TEXT 3"="Start ScanDisk without warning"
"DESCRIPTION 1"="If Windows detects that your PC has crashed, it starts ScanDisk while booting to correct any HD failures."
"DESCRIPTION 2"="Only set this option to "Never" if you are really sure what YOU ARE DOING! (ADVANCED USERS ONLY!)."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Thanks to Perez, Anthony <rivernet@digitalme.com> for the typo fix."
'0 => never
'1 => w/ warning
'2 => no warning
sF="C:\MSDOS.SYS"
sO="OPTIONS"
Sub Plugin_Initialize
Call FileSetAttribute(sf,"S-")
Call FileSetAttribute(sf,"R-")
Call FileSetAttribute(sf,"H-")
i=IniReadValue(sf,so,"AutoScan")
'If IsEmpty(i) then
' 'Win 95 A don't like this parameter....
' Disable
'else
if i=0 then
SetUIElement 1,true
else
if i=1 then
SetUIElement 2,true
else
SetUIElement 3,true
end if
end if
'end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call IniWriteValue(sf,so,"AutoScan",0)
else
b=GetUIElement(2)
if b=true then
Call IniWriteValue(sf,so,"AutoScan",1)
else
Call IniWriteValue(sf,so,"AutoScan",2)
end if
end if
Restart
End Sub
Sub Plugin_Terminate
Call FileSetAttribute("C:\MSDOS.SYS","S+")
Call FileSetAttribute("C:\MSDOS.SYS","R+")
Call FileSetAttribute("C:\MSDOS.SYS","H+")
End Sub